<include file="Core:Public:header" />
{:W('Navigation')}
<script src="__PUBLIC__/js/datepicker/WdatePicker.js" type="text/javascript"></script>
<div class="body-right">
	<div class="row-table">
		<div class="row-table-title">培训项目</div>
		<div class="row-table-body">
			<p class="form-title">
				<a class="pull-right btn btn-primary btn-xs" href='{:U("hrm/train/edittrainpro","id=".$info[train_pro_id])}'>编辑</a>
				查看项目&nbsp;&nbsp;<a href="javascript:history.go(-1);">返回</a>
			</p>
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label">项目名称</label>
				<div class="col-sm-3">
					{$info['name']}
				</div>
				<label for="train_type" class="col-sm-2 control-label">培训类型</label>
				<div class="col-sm-3">
					<if condition="$info['train_type'] == 1">
						职业技能
					<elseif condition="$info['train_type'] == 2" />
						职业素养
					<elseif condition="$info['train_type'] == 3" />
						业务知识
					<elseif condition="$info['train_type'] == 4" />
						岗位技能
					</if>
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="organizers" class="col-sm-2 control-label">主办单位</label>
				<div class="col-sm-3">
					{$info['organizers']}
				</div>
				<label for="to_name" class="col-sm-2 control-label">负责人</label>
				<div class="col-sm-3">
					{$info['username']}
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="org" class="col-sm-2 control-label">培训机构</label>
				<div class="col-sm-3">
					{$info['org']}
				</div>
				<label for="address" class="col-sm-2 control-label">培训地点</label>
				<div class="col-sm-3">
					{$info['address']}
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="start_time" class="col-sm-2 control-label">开始时间</label>
				<div class="col-sm-3">
					{$info.start_time|date='Y-m-d',###}
				</div>
				<label for="end_time" class="col-sm-2 control-label">结束时间</label>
				<div class="col-sm-3">
					{$info.end_time|date='Y-m-d',###}
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="day" class="col-sm-2 control-label">培训天数</label>
				<div class="col-sm-3">
					{$info.day}
				</div>
				<label for="money" class="col-sm-2 control-label">培训费用</label>
				<div class="col-sm-3">
					{$info.money}
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="class_num" class="col-sm-2 control-label">课程总数</label>
				<div class="col-sm-3">
					{$info.class_num}
				</div>
				<label for="user_num" class="col-sm-2 control-label">学员总数</label>
				<div class="col-sm-3">
					{$info.user_num}
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="train_status" class="col-sm-2 control-label">项目状态</label>
				<div class="col-sm-3">
					<if condition="$info['train_status'] == 1">
						未开始
					<elseif condition="$info['train_status'] == 2" />
						进行中
					<elseif condition="$info['train_status'] == 3" />
						已完成
					</if>
				</div>
				<label for="total_value" class="col-sm-2 control-label">项目评估</label>
				<div class="col-sm-3">
					<if condition="$info['total_value'] == 1">
						较差
					<elseif condition="$info['total_value'] == 2" />
						差
					<elseif condition="$info['total_value'] == 3" />
						一般
					<elseif condition="$info['total_value'] == 4" />
						良
					<elseif condition="$info['total_value'] == 5" />
						优
					</if>
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="content" class="col-sm-2 control-label">意见建议</label>
				<div class="col-sm-7">
					<pre>{$info.total_value_txt}</pre><div class="clear"></div>
				</div>
			</div>
			<div class="clear"></div>
			<div class="form-group">
				<label for="content" class="col-sm-2 control-label">备注</label>
				<div class="col-sm-7">
					<pre>{$info.content}</pre><div class="clear"></div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="clear"></div>
<script type="text/javascript">
$(function(){
	$('#to_name').click(function(){
		$('#alert').modal({
			show:true,
			remote:'{:U("core/user/getuserrindex")}'
		});
	});
});
</script>
<include file="Core:Public:alert" />
<include file="Core:Public:footer" />